package com.bwie.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ 就诊后台给前台
 * @descriptions: VisitVo
 * @author: LiYang
 * @date: 2025/3/17 1:59
 * @version: 1.0
 */
@Data
public class VisitVo {
    //就诊id
    private Integer visitId;
    //挂号表id
    private Integer registrationId;
    //就诊类型
    private Integer visitType;
    //性别
    private Integer sex;
    private Integer sexId;
    private String sexName;
    //患者姓名
    private String patientName;
    //手机号码
    private String phoneNumber;
    //出生日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date birthDate;
    //身份证号
    private String idCard;
    //年龄
    private Integer age;
    //科室id
    private Integer departmentId;
    private String departmentName;
    //医生id
    private Integer doctorId;
    private String userName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date creatTime;
}
